package org.example.new_hbps_backend_reconstruction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author 丁利军
 * @date 2025年10月11日 16:03
 * @description 患者心率数据
 */

@Data
@TableName("heart_rate_logs")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "患者心率数据")
public class HeartRateLogsEntity extends Model<HeartRateLogsEntity> {


    /**
     * hrlId
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="hrlId")
    private Long hrlId;

    /**
     * heartRate
     */
    @Schema(description="heartRate")
    private Integer heartRate;

    /**
     * uploadTime
     */
    @Schema(description="uploadTime")
    private LocalDateTime uploadTime;

    /**
     * patientUid
     */
    @Schema(description="patientUid")
    private Long patientUid;
}
